/config/app/proxy/virtualServer//serviceHttp/httpStripHeaders

The nodes below this one perform the functions described in this function overview.

Delete all HTTP request headers with the specified name.

Use

Use to remove specific request headers, perhaps when headers, like cookies, are very large. You can also use this to strip the byte-range request header, which forces the web server to respond with the entire content rather than only those bytes requested by the byte-range header. This is especially useful if the web servers are proxies that perform layer 7 inspection.

Parameters

name: Name of virtual server object

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/proxy/virt ualServer/vs1/serviceHttp/httpStripHeaders

GET Response

{"/config/app/proxy/virtualServer/vs1/serviceHttp/httpStripHeaders": {"data": None,
                                                                      "default": False,
                                                                      "defaultAllowed": False,
                                                                      "deleteAllowed": False,
                                                                      "numChildren": 1,
                                                                      "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/app/proxy/virtualServer/vs1/serviceHttp/httpStripHeaders"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/proxy/virt ualServer/vs1/serviceHttp/httpStripHeaders?op=list

GET Response

{"/config/app/proxy/virtualServer/vs1/serviceHttp/httpStripHeaders": {"children": 
    {"/config/app/proxy/virtualServer/vs1/serviceHttp/httpStripHeaders/header_to_remove-1": 
            {"default": False,
             "defaultAllowed": False,
             "deleteAllowed": True,
             "numChildren": 0,
             "type": "string"}},
     "default": False,
     "defaultAllowed": False,
     "deleteAllowed": False,
     "numChildren": 1,
     "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/config/app/proxy/virtualServer/vs1/serviceHttp/httpStripHeaders"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/proxy/virt ualServer/vs1/serviceHttp/httpStripHeaders?level=recurse

  1. /config/app/proxy/virtualServer//serviceHttp/httpStripHeaders 1. Parameters
    1. Data Type 2. Request Methods 3. Related 4. Examples